<script language="php">
	require('Formatting.php')
</script>

<link rel="stylesheet" type="text/css" href="BuildAndControlStyling.css">

<html>

<title>
	Registration
</title>

<body class="Login">

<script language="php">
Heading();
</script>

<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://jzaefferer.github.com/jquery-validation/jquery.validate.js"></script>

<script>
//adapted from http://docs.jquery.com/Plugins/Validation
  $(document).ready(function()
  {
    $("#registrationForm").validate();
  });
</script>

<script type="text/javascript" src="SQLphp.php"></script>

<form id="registrationForm" class="addEntry" action="SQLphp.php" method="post" >
	<label for="cname">Username:</label>
	<input id="cname" type="text" name="username" class="required" minLength="6" maxLength="14"/><br/><br/>

	<label for="cpassword">Password: </label>
	<input id="cpassword" type="password" name="password" class="required" minlength="6" maxlength="14"/><br/><br/>
	
	<form>
	<label>Team:</label><br> 
		<input type="radio" name="team" value="red" class="radio" checked="yes"/>Red<br/>
		<input type="radio" name="team" value="blue" class="radio"/>Blue<br/><br/>	
	<form>
	
	<label>Mobile: </label>
	<input type="text" name="mobile" minLength="10" maxLength="14"/><br/><br/>
	
	<label for="cemail">Email:</label> 
	<input id="cemail" type="text" name="email" class="required email" maxLength="30"/><br/><br/>

	<input type="Submit" value="Register!" value="Submit" class="submit"/>
</form>

</body>
</html>
<script language="php">
//LinksTop();
LinksBot();
</script>